import request from '@/common/requestV2'

//查询救援申请单列表信息
export function getPage(data) {
  return request({
    url: '/admin/rescueApplyOrder/getPage',
    method: 'post',
    data: data
  })
}

//查询救援申请单详情信息
export function getOrderDetail(primeryKey) {
  return request({
    url: '/admin/rescueApplyOrder/getOrderDetail/'+primeryKey,
    method: 'get',
  })
}
//审核，拒绝，返回修改救援申请单
export function auditOrRejectOrder(data) {
  return request({
    url: '/admin/rescueApplyOrder/auditOrRejectOrder',
    method: 'post',
    data: data
  })
}
//确认垫付
export function paymentCallBack(data) {
  return request({
    url: '/admin/rescueApplyOrder/paymentCallBack',
    method: 'post',
    data: data
  })
}

//确认收款
export function returnCallBack(data) {
  return request({
    url: '/admin/rescueApplyOrder/returnCallBack',
    method: 'post',
    data: data
  })
}
